\section{Switch}

Here you can manage your switch configurations, add new switches or delete them.
By selecting a switch in $(1)$ you get all the information displayed at $(2)$.
At the ``Address'' field you don't have to enter the ip address, any address
you can resolve will do. In the ``Timeout'' field you can specify the time in
milliseconds SwitchViz waits for a response before declaring the snmp request
as timed out. The number in ``Max Retries'' declares how many times a timed out
request will be resent. ``PDU Capacity'' holds a delicate number. It's the
number of the snmp requests that are put in one package that will be sent to
the switch. The higher the number the better the throughput. But is it to high,
the package will be too big to transport and you won't get any response. How
big you can set it depends on the snmp request itself, but you should be safe
if you leave the default value at 30. That the changes you made take effect you
have to press the button ``Apply Changes'' at $(3)$. In $(1)$ you can right
click to get the options to add a switch or remove a switch. To get the
information how many ports are connected at the switch press the ``Reload Port
Info'' button at $(4)$. If you start visualizing a switch and the visualization
does not find the port information of the switch it gets the information itself
but it might take a while longer to load. It only does that once.
To test a new switch you can perform queries with the ``Query Switch'' button
at $(5)$. To perform an SNMP Walk with this switch press the button at $(6)$.


 \begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/switch.png}
  \caption{Switch Configuration}
  \label{scenario}
\end{figure}